package com.neepu.service;


import com.neepu.pojo.Target;
import com.neepu.pojo.TwoTarget;

import java.util.List;

public interface IndexManagerService {
    List<Target> getAllTarget();

    List<Target> findAllTargetByContent(String content);

    List<TwoTarget> findAllTwoTargetByContent(String content);

    List<TwoTarget> getAllTwoTarget();

    Target findTargetById(int oneId);

    void deleteOneTarget(Integer id);

    void deleteTwoTarget(Integer id);

    void insertTarget(Target target);

    void insertTwoTarget(TwoTarget twoTarget);

    TwoTarget findTwoTargetById(Integer id);

    void updateTarget(Target target);

    void updateTwoTarget(TwoTarget twoTarget);
}
